package responsibilityChainPattern;

public class GroupLeader extends Handler{
    public GroupLeader(){
        super(Handler.NUM_ONE,Handler.NUM_Three);
    }
    @Override
    protected void HandlLeave(Ileave leave) {
        System.out.println("人员："+leave.getName()+"请假天数："+leave.getNum()+"请假缘由："+leave.getContent());
        System.out.println("组长同意批准");
    }
}
